package com.zhm.springcloud.service;

import com.zhm.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * Date： 2021/3/7 20:26
 *
 * @author ZHM
 */
public interface PaymentService {

    int create(Payment payment);

    /**
     * 通过ID指定查找一个Payment对象
     * @param id 指定ID
     * @return Payment对象
     */
    Payment getPaymentById(Long id);

}
